<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>网页菜单</title>
		<style>
			/*去掉每个li前面的点*/
			ul{
				list-style: none;/*去掉每个li前面的点*/
			}
			li{
				float: left;   /*li不换行，紧跟着后面*/
				margin-right: 10px;
				background-color: #ee1100; /*背景色*/
				padding: 5px 10px 5px 10px; /*四周留白*/
				color: white; /*字体颜色*/
				border-radius: 10px;
			}
			li:hover{  /*鼠标移入*/
				background-color: aqua;
			}
			a{
				text-decoration: none;/*超链接下划线取消*/
				color: white;
			}
		</style>
	</head>
	<body>
		<h3>使用ul和li标签来实现的</h3>
		<h5>a标签实现超链接</h5>
		
		<ul>
			<li><a href="https://www.w3school.com.cn/" target="_blank">W3CShool</a></li>
			<li><a href="https://www.runoob.com/" target="_blank">菜鸟教程</a></li>
			<li><a href="https://www.csdn.net/" target="_blank">CSDN</a></li>
			<li><a href="https://segmentfault.com/" target="_blank">思否</a></li>
			<li><a href="http://act.codeboy.com" target="_blank">java培优</a></li>
		</ul>
	</body>
</html>